package org.lx.nursing.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.lx.common.annotation.Excel;
import org.lx.common.core.domain.BaseEntity;

import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("护理项目实体")
public class NursingProject extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    private Long id;

    @Excel(name = "名称")
    @ApiModelProperty("名称")
    private String name;

    @Excel(name = "排序号")
    @ApiModelProperty("排序号")
    private Integer orderNo;

    @Excel(name = "单位")
    @ApiModelProperty("单位")
    private String unit;

    @Excel(name = "价格")
    @ApiModelProperty("价格")
    private BigDecimal price;

    @Excel(name = "图片")
    @ApiModelProperty("图片")
    private String image;

    @Excel(name = "护理要求")
    @ApiModelProperty("护理要求")
    private String nursingRequirement;

    @Excel(name = "状态", readConverterExp = "0=：禁用，1：启用")
    @ApiModelProperty("状态（0：禁用，1：启用）")
    private Integer status;
}
